package com.kathir.test;

public class Monitor {
	
	
	private String display = null;
	private int contrast = 0;
	private int brightness = 0;
	private boolean powerState = false;
	
	
	public void displayString(String str){
		System.out.println(str);
	}
	
	
	
	

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		Monitor samsung = new Monitor();
		samsung.displayString("hi");
		

	}


	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}


	public int getContrast() {
		return contrast;
	}

	public void setContrast(int contrast) {
		this.contrast = contrast;
	}

	public int getBrightness() {
		return brightness;
	}

	public void setBrightness(int brightness) {
		this.brightness = brightness;
	}


	public boolean isPowerState() {
		return powerState;
	}

	public void setPowerState(boolean powerState) {
		
		if(powerState){
			System.out.println("Booting system...");
		}else{
			System.out.println("Shutting down...");
		}
		this.powerState = powerState;
	}

}
